< Prev(J) / Next(K) > / View :

Filename: /text/scalc/01/func_day.xhp

(bookmark: bm_id3147317)
DAY function

DAY 関数
(bookmark: bm_id3151283)

(variable: day)DAY
(variable: day)DAY(hd_id3147317.106)

Returns the day of given date value. The day is returned as an integer between 1 and 31. You can also enter a negative date/time value.
指定の日付値の日を返します。日は、1 から 31 までの整数として返されます。また、負の日付と時刻値を入力することも可能です。(par_id3147584.107)

Syntax
構文(hd_id3150487.108)

DAY(Number)
DAY(数値)(par_id3149430.109)

Number, as a time value, is a decimal, for which the day is to be returned.
数値 に入力した日付のシリアル値に対応する日が返されます。(par_id3149443.110)

Examples
(hd_id3163809.111)

DAY(1) returns 31 (since Office starts counting at zero from December 30, 1899)
Office は 1899 年 12 月 30 日を始点にゼロから数え始めるので、DAY(1) は 31 を返します。(par_id3151200.112)

DAY(NOW()) returns the current day.
DAY(NOW()) は、当日を返します。(par_id3154130.113)

=DAY(C4) returns 5 if you enter 1901-08-05 in cell C4 (the date value might get formatted differently after you press Enter).
セル C4 に 1901-08-05 を入力すると、=DAY(C4) は 5 を返します。Enter キーを押したあと、日付の値に別の書式が設定される場合があります。(par_id3159190.114)


< Prev / Next >